﻿<cfsilent>
	<cfscript>
		
		event.setArg("pageTitle", "网上成绩录入 - 成绩录入情况");
		
		dictAdvice = getProperty("serviceFactory").getBean("senateDictionaryAdvice");
		mathAdvice = getProperty("serviceFactory").getBean("senateMathAdvice");
		
		termId = event.getArg("TID", event.getArg("TermID"));
		depId = event.getArg("DepID");
		
		academicYear = event.getArg("AcademicYear");
		academicTerm = event.getArg("AcademicTerm");
		
		currentTab = event.getArg("TabID", "labDepartment");
		
		rs_task = queryNew("task_id");
		rs_departmentEntity = queryNew("institute_id");
		rs_planTask = queryNew("tsk_id");
		rs_commonTask = queryNew("tsk_id");
		rs_taskUndone = queryNew("task_id");
		
		targetArgs = structNew();
		structInsert(targetArgs, "TID", termId, true);
		
		/* 读取课程的开课学院 */
		sql = "	SELECT
					i.institute_id,i.institute_name,COUNT(DISTINCT c.cid) c_count,COUNT(*) r_count
				FROM
					t_task_mark t INNER JOIN t_course c ON c.cid = t.cid INNER JOIN t_institute i ON i.institute_id = c.institute_id
				WHERE
					t.term_id = :termId 
				GROUP BY
					i.institute_id,i.institute_name
				ORDER BY
					i.institute_name";
		
		queryObj = new Query(datasource = application.dnsSlave);
		queryObj.addParam(name = "termId", value = termId, cfsqltype = "cf_sql_char");
		rs_ins = queryObj.execute(sql = sql).getResult();
		
		if ( depId neq "") {
			
			structInsert(targetArgs, "DepID", depId, true);
			
			currentTab = "labTask";
			
			/* 任课单位信息 */
			sql = "	SELECT
						i.institute_id,i.institute_name
					FROM
						t_institute i
					WHERE
						i.institute_id = :instituteId ";
			
			queryObj = new Query(datasource = application.dnsSlave);
			queryObj.addParam(name = "instituteId", value = depId, cfsqltype = "cf_sql_varchar");
			rs_departmentEntity = queryObj.execute(sql = sql).getResult();
		
			/* 读取已激活成绩任务提交状况 */
			sql = "	SELECT
						t.task_id,t.task_type,t.task_prog,t.mark_done,t.mark_need,
						c.course_name,c.course_credit,
						c.course_code,
						t.cidx,
						i.institute_short,
						c.mark_mode
					FROM
						t_task_mark t INNER JOIN t_course c ON c.cid = t.cid INNER JOIN t_institute i ON i.institute_id = c.institute_id
					WHERE
						i.institute_id = :depId 
						AND
						t.term_id = :termId 
					ORDER BY
						t.task_prog DESC,c.course_name,t.cidx";

			queryObj = new Query(datasource = application.dnsSlave);
			queryObj.addParam(name = "depId", value = depId, cfsqltype = "cf_sql_varchar");
			queryObj.addParam(name = "termId", value = termId, cfsqltype = "cf_sql_char");
			rs_task = queryObj.execute(sql = sql).getResult();
			
			/* 历史未提交成绩 */
			sql = "	SELECT
						t.task_id,t.task_type,t.task_prog,t.mark_done,t.mark_need,
						c.course_name,c.course_credit,
						c.course_code,
						t.cidx,
						i.institute_short,
						c.mark_mode
					FROM
						t_task_mark t INNER JOIN t_course c ON c.cid = t.cid INNER JOIN t_institute i ON i.institute_id = c.institute_id
					WHERE
						i.institute_id = :depId 
						AND
						t.term_id < :termId 
						AND
						t.task_prog IN ('0','1','2','4')
					ORDER BY
						t.task_prog DESC,c.course_name,t.cidx";
			
			queryObj = new Query(datasource = application.dnsSlave);
			queryObj.addParam(name = "depId", value = depId, cfsqltype = "cf_sql_varchar");
			queryObj.addParam(name = "termId", value = termId, cfsqltype = "cf_sql_char");
			rs_taskUndone = queryObj.execute(sql = sql).getResult();
			
			sql = "	SELECT
						a.tsk_id,ac.course_name,at.tch_name,a.cidx,a.task_week,
						a.task_limite,a.task_chooesd,act.cr_type_name,acu.campus_name,
						CASE WHEN a.task_time IS NULL THEN '-' ELSE a.task_time END task_time,
						CASE WHEN a.task_place IS NULL THEN '-' ELSE a.task_place END task_place,
						a.task_prop
					FROM
						t_task a INNER JOIN t_course ac ON ac.cid = a.cid INNER JOIN t_teacher at ON at.tch_id = a.tch_id INNER JOIN t_classroom_type act ON act.cr_type = a.cr_type
						INNER JOIN t_campus acu ON acu.campus_id = a.campus_id
					WHERE
						a.term_id = :termId AND ac.institute_id = :depId 
						AND
						NOT EXISTS(
							SELECT 1 FROM t_task_mark b WHERE a.tsk_id = b.task_id AND b.term_id = :termId 
						)
						AND
						SUBSTR(a.task_prop,7,1) = '0'
					ORDER BY
						ac.course_name,a.cidx";
			
			queryObj = new Query(datasource = application.dnsSlave);
			queryObj.addParam(name = "depId", value = depId, cfsqltype = "cf_sql_varchar");
			queryObj.addParam(name = "termId", value = termId, cfsqltype = "cf_sql_char");
			rs_planTask = queryObj.execute(sql = sql).getResult();
			
			
			sql = "	SELECT
						a.tsk_id,ac.course_name,at.tch_name,a.cidx,a.task_week,
						a.task_limite,a.task_chooesd,act.cr_type_name,acu.campus_name,
						CASE WHEN a.task_time IS NULL THEN '-' ELSE a.task_time END task_time,
						CASE WHEN a.task_place IS NULL THEN '-' ELSE a.task_place END task_place,
						a.task_prop
					FROM
						t_common_task a INNER JOIN t_course ac ON ac.cid = a.cid INNER JOIN t_teacher at ON at.tch_id = a.tch_id INNER JOIN t_classroom_type act ON act.cr_type = a.cr_type
						INNER JOIN t_campus acu ON acu.campus_id = a.campus_id
					WHERE
						a.term_id = :termId AND ac.institute_id = :depId 
						AND
						NOT EXISTS(
							SELECT 1 FROM t_task_mark b WHERE a.tsk_id = b.task_id AND b.term_id = :termId 
						)
						AND
						SUBSTR(a.task_prop,7,1) = '0'
					ORDER BY
						ac.course_name,a.cidx";
			
			queryObj = new Query(datasource = application.dnsSlave);
			queryObj.addParam(name = "depId", value = depId, cfsqltype = "cf_sql_varchar");
			queryObj.addParam(name = "termId", value = termId, cfsqltype = "cf_sql_char");
			rs_commonTask = queryObj.execute(sql = sql).getResult();
			
			if ( rs_task.recordCount eq 0 and (rs_planTask.recordCount or rs_commonTask.recordCount) ) {
				currentTab = "labTaskWait";
			}

		}
		
	</cfscript>
</cfsilent>

<div id="headArea">
	<div class="uiHeader uiHeaderWithImage ptm">
		<div class="clearfix uiHeaderTop">
			<div class="uiHeaderActions rfloat">
				<a class="uiButton" href="<cfoutput>#buildURL('DEFAULT_EVENT')#</cfoutput>"><i class="mrs img btnPublish"></i><span class="uiButtonText">网上成绩录入</span></a>
			</div>
			<div>
				<h2 class="uiHeaderTitle">
					<i class="uiHeaderImage img icon16x16 application"></i><cfoutput>#academicYear#</cfoutput>-<cfoutput>#academicTerm#</cfoutput>学期成绩提交情况
				</h2>
			</div>
		</div>
	</div>
</div>

<div class="UIElement">
	<ul class="senateFirstPage">
		<li>
			<div class="clearfix" id="summary">
			
				<div class="UItab">
					<div class="tabLables">
						<span <cfif currentTab eq "labDepartment">class="active"</cfif> id="labDepartment" tabTarget="Department">开课部门</span>
						<cfif rs_task.recordCount>
							<span <cfif currentTab eq "labTask">class="active"</cfif> id="labTask" tabTarget="Task">成绩提交状态</span>
						</cfif>
						<cfif rs_taskUndone.recordCount>
							<span <cfif currentTab eq "labHistory">class="active"</cfif> id="labHistory" tabTarget="History">以往学期未提交成绩</span>
						</cfif>
						<cfif rs_planTask.recordCount or rs_commonTask.recordCount>
							<span <cfif currentTab eq "labTaskWait">class="active"</cfif> id="labTaskWait" tabTarget="TaskWait">尚未开始录入</span>
						</cfif>
					</div>
				</div>
				<script language="javascript" type="text/javascript">
					//<![CDATA[
					<!--
					$(document).ready(function() {
						
						/* init Tab */
						$("div.tabContent").hide();
						$("div#" + $("div.tabLables span.active").attr("tabTarget")).show();
				
						$("div.tabLables > span").click(function(){
							var $targetID = $(this).attr("tabTarget");
							
							$("div.tabLables span").removeClass("active");
							$(this).addClass("active");
							
							$("div.tabContent").not('[id="' + $targetID + '"]').hide();
							$("div.tabContent#" + $targetID).show();
						});
				
					});
					// -->
					//]]>
				</script>
				
				<div id="Department" class="tabContent">
					
					<div class="noticeBlock">
						
						<!---<div class="operation">
							<a class="uiButton" href="<cfoutput>#buildURL('taskChooserflush', targetArgs)#</cfoutput>"><i class="mrs img btnList"></i><span class="uiButtonText">重新计算已选人数</span></a>
							<a class="uiButton uiButtonSpecial" href="<cfoutput>#buildURL('taskDownloadExcel', targetArgs)#</cfoutput>"><i class="mrs img btnDownload"></i><span class="uiButtonText">下载全校教学任务</span></a>
						</div>--->
						
						<h3>开课部门概况</h3>
						<p><span class="img icon16x16 message"></span><em><cfoutput>#academicYear#</cfoutput>-<cfoutput>#academicTerm#</cfoutput></em>学期教学任务共计 <em><cfoutput>#rs_ins.recordCount#</cfoutput></em> 个任课单位共同完成.</p>
						<hr/>
						
					</div>
					
					<div class="clearfix">
						<div class="UICardTable">
                            <cfloop query="rs_ins">
								<cfset structInsert(targetArgs, "DepID", rs_ins.institute_id, true) />
								<dl>
									<dt>
										<a href="<cfoutput>#buildURL('taskClass', targetArgs)#</cfoutput>">
										<em class="collection"><!--imgholder--></em>
										<dd>
											<h3><cfoutput>#rs_ins.institute_name#</cfoutput></h3>
											<div>课程:<cfoutput>#rs_ins.c_count#</cfoutput> 教学班:<cfoutput>#rs_ins.r_count#</cfoutput></div>
										</dd>
										</a>
									</dt>
								</dl>
							</cfloop>
						</div>
					</div>
					
				</div>
				
				<cfif rs_task.recordCount>

					<div id="Task" class="tabContent">
					
						<cfif rs_departmentEntity.recordCount>
							<cfset structInsert(targetArgs, "DepID", rs_departmentEntity.institute_id, true) />
							<div class="noticeBlock">
								<h3><cfoutput>#rs_departmentEntity.institute_name#</cfoutput></h3>
								<p>
									<span class="img icon16x16 message"></span>
									<em><cfoutput>#academicYear#</cfoutput>-<cfoutput>#academicTerm#</cfoutput></em>学期, 
									已网上成绩录入课程教学任务 <em><cfoutput>#rs_task.recordCount#</cfoutput></em> 个
									.
								</p>
								<hr/>
							</div>
						</cfif>

						<table class="UIEditable">
							<thead>
								<tr>
									<td width="30"></td>
									<td>课程</td>
									<td width="90">主讲教师</td>
									<td width="40">学分</td>
									<td width="50">部门</td>
									<td width="60">提交进度</td>
									<td width="60">计分模式</td>
									<td width="60">状态</td>
                                             
									<td width="18"></td>
								</tr>
							</thead>
							<tbody>
								<cfset row = 0 />
                                <cfloop query="rs_task">
									<cfset row++ />
									<cfset structInsert(targetArgs, "TSK", rs_task.task_id, true) />
									<cfset structInsert(targetArgs, "TT", rs_task.task_type, true) />
									<!--- 反向读取任务的主讲教师 --->
                                    <cfswitch expression="#rs_task.task_type#">
                                    	<cfcase value="P">
                                        	<cfset sql = "SELECT tch.tch_name FROM t_task tsk INNER JOIN t_teacher tch ON tch.tch_id = tsk.tch_id WHERE tsk.tsk_id = :taskId " />
                                            <cfset queryObj = new Query(datasource = application.dnsSlave) />
                                            <cfset queryObj.addParam(name = "taskId", value = rs_task.task_id, cfsqltype = "cf_sql_varchar") />
                                            <cfset rs_targetTaskEntity = queryObj.execute(sql = sql).getResult()/>
                                        </cfcase>
                                        <cfcase value="C">
                                        	<cfset sql = "SELECT tch.tch_name FROM t_common_task tsk INNER JOIN t_teacher tch ON tch.tch_id = tsk.tch_id WHERE tsk.tsk_id = :taskId " />
                                            <cfset queryObj = new Query(datasource = application.dnsSlave) />
                                            <cfset queryObj.addParam(name = "taskId", value = rs_task.task_id, cfsqltype = "cf_sql_varchar") />
                                            <cfset rs_targetTaskEntity = queryObj.execute(sql = sql).getResult()/>
                                        </cfcase>
                                        <cfcase value="R">
                                        	<cfset sql = "SELECT tch.tch_name FROM t_reopen_task tsk INNER JOIN t_teacher tch ON tch.tch_id = tsk.tch_id WHERE tsk.tsk_id = :taskId " />
                                            <cfset queryObj = new Query(datasource = application.dnsSlave) />
                                            <cfset queryObj.addParam(name = "taskId", value = rs_task.task_id, cfsqltype = "cf_sql_varchar") />
                                            <cfset rs_targetTaskEntity = queryObj.execute(sql = sql).getResult()/>
                                        </cfcase>
                                        <cfcase value="T">
                                        	<cfset sql = "SELECT tch.tch_name FROM t_sport_task tsk INNER JOIN t_teacher tch ON tch.tch_id = tsk.tch_id WHERE tsk.tsk_id = :taskId " />
                                            <cfset queryObj = new Query(datasource = application.dnsSlave) />
                                            <cfset queryObj.addParam(name = "taskId", value = rs_task.task_id, cfsqltype = "cf_sql_varchar") />
                                            <cfset rs_targetTaskEntity = queryObj.execute(sql = sql).getResult()/>
                                        </cfcase>
                                    </cfswitch>
									<tr class="editRows" rowid="<cfoutput>#rs_task.task_id#</cfoutput>">
										<td class="index"><cfoutput>#row#</cfoutput></td>
										<td><cfoutput>#rs_task.course_name#</cfoutput><span class="numeric">-<cfoutput>#rs_task.cidx#</cfoutput></span></td>
										<td><cfoutput>#rs_targetTaskEntity.tch_name#</cfoutput></td>
										<td><span class="numeric"><cfoutput>#numberFormat(rs_task.course_credit, '_.__')#</cfoutput></span></td>
										<td><cfoutput>#rs_task.institute_short#</cfoutput></td>
										<td align="center"><span class="numeric"><cfoutput>#rs_task.mark_done#</cfoutput> / <cfoutput>#rs_task.mark_need#</cfoutput></span></td>
										<td align="center"><cfoutput>#dictAdvice.getMarkModeName( rs_task.mark_mode )#</cfoutput></td>
										<td class="TaskProgress<cfoutput>#rs_task.task_prog#</cfoutput>"><cfoutput>#dictAdvice.getTaskMarkStat( rs_task.task_prog )#</cfoutput></td>
                                                  
                                                  <td><cfif rs_task.task_prog eq '1' OR rs_task.task_prog eq '2' OR rs_task.task_prog eq '3' OR rs_task.task_prog eq '4'><a title="打印卷面成绩" href="<cfoutput>#buildURL('taskMarkPrint', targetArgs)#</cfoutput>" class="stat print" target="_blank"></a></cfif></td>
                                                  <td><cfif rs_task.task_prog eq '1' OR rs_task.task_prog eq '2' OR rs_task.task_prog eq '3' OR rs_task.task_prog eq '4'><a title="打印总评成绩" href="<cfoutput>#buildURL('taskTotalMarkPrint', targetArgs)#</cfoutput>" class="stat print" target="_blank"></a></cfif></td>
										<td>
											<cfif rs_task.task_prog eq "3">
												<a title="解锁成绩" href="<cfoutput>#buildURL('taskMarkUnlockDo', targetArgs)#</cfoutput>" class="stat locked"></a>
											</cfif>
                                                       
										</td>
                                                  
                                                   <cfif rs_task.task_prog eq "4">
                                                   <td>
												<a title="锁定成绩" href="<cfoutput>#buildURL('taskMarklockDo', targetArgs)#</cfoutput>" class="stat unlock"></a>
                                                      </td>
										</cfif>
									</tr>
								</cfloop>
							</tbody>
						</table>
					</div>
					
				</cfif>
				
				<cfif rs_taskUndone.recordCount>

					<div id="History" class="tabContent">
					
						<cfif rs_departmentEntity.recordCount>
							<cfset structInsert(targetArgs, "DepID", rs_departmentEntity.institute_id, true) />
							<div class="noticeBlock">
								<h3><cfoutput>#rs_departmentEntity.institute_name#</cfoutput></h3>
								<p>
									<span class="img icon16x16 message"></span>
									以往学期尚未完成成绩提交的教学任务 <em><cfoutput>#rs_taskUndone.recordCount#</cfoutput></em> 个.
								</p>
								<hr/>
							</div>
						</cfif>

						<table class="UIEditable">
							<thead>
								<tr>
									<td width="30"></td>
									<td>课程</td>
									<td width="90">主讲教师</td>
									<td width="40">学分</td>
									<td width="50">部门</td>
									<td width="60">提交进度</td>
									<td width="60">计分模式</td>
									<td width="60">状态</td>
								</tr>
							</thead>
							<tbody>
								<cfset row = 0 />
                                <cfloop query="rs_taskUndone">
									<cfset row++ />
									<!--- 反向读取任务的主讲教师 --->
                                     <cfswitch expression="#rs_taskUndone.task_type#">
                                    	<cfcase value="P">
                                        	<cfset sql = "SELECT tch.tch_name FROM t_task tsk INNER JOIN t_teacher tch ON tch.tch_id = tsk.tch_id WHERE tsk.tsk_id = :taskId " />
                                            <cfset queryObj = new Query(datasource = application.dnsSlave) />
                                            <cfset queryObj.addParam(name = "taskId", value = rs_taskUndone.task_id, cfsqltype = "cf_sql_varchar") />
                                            <cfset rs_targetTaskEntity = queryObj.execute(sql = sql).getResult()/>
                                        </cfcase>
                                        <cfcase value="C">
                                        	<cfset sql = "SELECT tch.tch_name FROM t_common_task tsk INNER JOIN t_teacher tch ON tch.tch_id = tsk.tch_id WHERE tsk.tsk_id = :taskId " />
                                            <cfset queryObj = new Query(datasource = application.dnsSlave) />
                                            <cfset queryObj.addParam(name = "taskId", value = rs_taskUndone.task_id, cfsqltype = "cf_sql_varchar") />
                                            <cfset rs_targetTaskEntity = queryObj.execute(sql = sql).getResult()/>
                                        </cfcase>
                                        <cfcase value="R">
                                        	<cfset sql = "SELECT tch.tch_name FROM t_reopen_task tsk INNER JOIN t_teacher tch ON tch.tch_id = tsk.tch_id WHERE tsk.tsk_id = :taskId " />
                                            <cfset queryObj = new Query(datasource = application.dnsSlave) />
                                            <cfset queryObj.addParam(name = "taskId", value = rs_taskUndone.task_id, cfsqltype = "cf_sql_varchar") />
                                            <cfset rs_targetTaskEntity = queryObj.execute(sql = sql).getResult()/>
                                        </cfcase>
                                        <cfcase value="T">
                                        	<cfset sql = "SELECT tch.tch_name FROM t_sport_task tsk INNER JOIN t_teacher tch ON tch.tch_id = tsk.tch_id WHERE tsk.tsk_id = :taskId " />
                                            <cfset queryObj = new Query(datasource = application.dnsSlave) />
                                            <cfset queryObj.addParam(name = "taskId", value = rs_taskUndone.task_id, cfsqltype = "cf_sql_varchar") />
                                            <cfset rs_targetTaskEntity = queryObj.execute(sql = sql).getResult()/>
                                        </cfcase>
                                    </cfswitch>
									<tr class="editRows" rowid="<cfoutput>#rs_taskUndone.task_id#</cfoutput>">
										<td class="index"><cfoutput>#row#</cfoutput></td>
										<td><cfoutput>#rs_taskUndone.course_name#</cfoutput><span class="numeric">-<cfoutput>#rs_taskUndone.cidx#</cfoutput></span></td>
										<td><cfoutput>#rs_targetTaskEntity.tch_name#</cfoutput></td>
										<td><span class="numeric"><cfoutput>#numberFormat(rs_taskUndone.course_credit, '_.__')#</cfoutput></span></td>
										<td><cfoutput>#rs_taskUndone.institute_short#</cfoutput></td>
										<td align="center"><span class="numeric"><cfoutput>#rs_taskUndone.mark_done#</cfoutput> / <cfoutput>#rs_taskUndone.mark_need#</cfoutput></span></td>
										<td align="center"><cfoutput>#dictAdvice.getMarkModeName( rs_taskUndone.mark_mode )#</cfoutput></td>
										<td class="TaskProgress<cfoutput>#rs_taskUndone.task_prog#</cfoutput>"><cfoutput>#dictAdvice.getTaskMarkStat( rs_taskUndone.task_prog )#</cfoutput></td>
									</tr>
								</cfloop>
							</tbody>
						</table>
					
					</div>
				</cfif>
				
				<div id="TaskWait" class="tabContent">
					
					<cfif rs_departmentEntity.recordCount>
							
						<cfset structInsert(targetArgs, "DepID", rs_departmentEntity.institute_id, true) />
							
						<div class="noticeBlock">
							<h3><cfoutput>#rs_departmentEntity.institute_name#</cfoutput></h3>
							<p>
								<span class="img icon16x16 message"></span>
								<em><cfoutput>#academicYear#</cfoutput>-<cfoutput>#academicTerm#</cfoutput></em>学期, 
								计划课程教学任务尚有 <em><cfoutput>#rs_planTask.recordCount#</cfoutput></em> 个未生成录入名单,
								全校通选课程教学任务尚有 <em><cfoutput>#rs_commonTask.recordCount#</cfoutput></em> 个未生成录入名单
								.
							</p>
							<hr/>
						</div>
						
					</cfif>
					
					<cfif rs_planTask.recordCount or rs_commonTask.recordCount>

							<table id="classList" class="UIEditable">
								<thead>
									<tr>
										<td width="30"></td>
										<td>教学班</td>
										<td width="90">主讲教师</td>
										<td>周次</td>
										<td>人数</td>
										<td>校区</td>
										<td>教室类别</td>
										<td>上课时间</td>
										<td>上课地点</td>
									</tr>
								</thead>
								<tbody>
									<cfset row = 0 />
                                    <cfloop query="rs_planTask">
										<cfset row++ />
										<tr class="editRows" rowid="<cfoutput>#rs_planTask.tsk_id#</cfoutput>">
											<td class="index">P.<cfoutput>#row#</cfoutput></td>
											<td><cfoutput>#rs_planTask.course_name#</cfoutput><span class="numeric">-<cfoutput>#rs_planTask.cidx#</cfoutput></span></td>
											<td><cfoutput>#rs_planTask.tch_name#</cfoutput></td>
											<td><span class="numeric"><cfoutput>#rs_planTask.task_week#</cfoutput></span></td>
											<td><span class="numeric"><cfoutput>#rs_planTask.task_chooesd#</cfoutput></span></td>
											<td><cfoutput>#rs_planTask.campus_name#</cfoutput></td>
											<td><cfoutput>#rs_planTask.cr_type_name#</cfoutput></td>
											<td><cfoutput>#replace(mathAdvice.convertTaskTime(rs_planTask.task_time), ",", "<br/>", "all")#</cfoutput></td>
											<td><cfoutput>#replace(rs_planTask.task_place, ",", "<br/>", "all")#</cfoutput></td>
										</tr>
									</cfloop>
									
									<cfset row = 0 />
                                    <cfloop query="rs_commonTask">
										<cfset row++ />
										<tr class="editRows" rowid="<cfoutput>#rs_commonTask.tsk_id#</cfoutput>">
											<td class="index">C.<cfoutput>#row#</cfoutput></td>
											<td><cfoutput>#rs_commonTask.course_name#</cfoutput><span class="numeric">-<cfoutput>#rs_commonTask.cidx#</cfoutput></span></td>
											<td><cfoutput>#rs_commonTask.tch_name#</cfoutput></td>
											<td><span class="numeric"><cfoutput>#rs_commonTask.task_week#</cfoutput></span></td>
											<td><span class="numeric"><cfoutput>#rs_commonTask.task_chooesd#</cfoutput></span></td>
											<td><cfoutput>#rs_commonTask.campus_name#</cfoutput></td>
											<td><cfoutput>#rs_commonTask.cr_type_name#</cfoutput></td>
											<td><cfoutput>#replace(mathAdvice.convertTaskTime(rs_commonTask.task_time), ",", "<br/>", "all")#</cfoutput></td>
											<td><cfoutput>#replace(rs_commonTask.task_place, ",", "<br/>", "all")#</cfoutput></td>
										</tr>
									</cfloop>
								</tbody>
							</table>
							
							
						</cfif>
					
				</div>
				
			</div>
		</li>
	</ul>
</div>

				
				
				